summaryrefslogtreecommitdiff
path: root/src/pages/[locale]/index.astro
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-15 19:19:51 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-15 19:19:51 +0100
commit8dd3185b2548c83dbf31324452b3b410408ab4dd (patch)
treef8ed40b554f06b324a599fb8a40bf3d12b5456ff /src/pages/[locale]/index.astro
parent53f29bac911b13b2bef0125de22773bf26ce5a90 (diff)
Parametrises heading level in NewsPreviewLink
Diffstat (limited to 'src/pages/[locale]/index.astro')
-rw-r--r--src/pages/[locale]/index.astro2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro
index 3674b9f..30c06fc 100644
--- a/src/pages/[locale]/index.astro
+++ b/src/pages/[locale]/index.astro
@@ -20,7 +20,7 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
<Page title={t(tPage, { key: 'title' })}>
<section>
<h2 set:html={t(tPage, { key: 'news' })} />
- {mostRecentNewsItem && <NewsPreviewLink newsItem={mostRecentNewsItem} />}
+ {mostRecentNewsItem && <NewsPreviewLink headingLevel="h3" newsItem={mostRecentNewsItem} />}
<div class="align-end margin-block-start-md">
<a href={`/${locale}/news`} class="btn">
{t(tPage, { key: 'aw-news' })} ▷